import request from '@/utils/request'

export const getSearchList = (proName) => {
  return request.get('/goods/list', {
    params: {
      // eslint-disable-next-line no-undef
      // sortType: all,
      sortPrice: 0,
      categoryId: 0,
      goodsName: proName,
      page: 1
    }
  })
}
